#ifndef __LINKEDLIST_H__
#define __LINKEDLIST_H__

typedef int Datatype;
typedef struct node
{
    Datatype data;
    struct node *next;
    struct node *prev;
}node;

typedef struct list
{
    int nodenum;
    struct node *first;
    struct node *last;
}list;

list *create_sort_list();
list *same(list *A,list *B);
void print_list(list *s);

#endif